package com.qf.lanzhou.blog.api.pojo.entity;

/**
 * @Author jian    点赞表实体类
 * @Date 2020/12/17 14:52
 * @JDK 1.8
 * @Version 1.0
 */

public class Praise {
    //点赞表id
    private int praiseId;
    //用户id
    private String userId;
    //文章id
    private String articleId;
    //点赞状态,0,代表未点赞,1,代表已点赞
    private String praiseStatus;
    //点赞次数
    private String count;

    public Praise(){

    }

    public Praise(int praiseId, String userId, String articleId, String praiseStatus, String count) {
        this.praiseId = praiseId;
        this.userId = userId;
        this.articleId = articleId;
        this.praiseStatus = praiseStatus;
        this.count = count;
    }

    public Praise(String userId, String articleId, String praiseStatus, String count) {
        this.userId = userId;
        this.articleId = articleId;
        this.praiseStatus = praiseStatus;
        this.count = count;
    }

    public int getPraiseId() {
        return praiseId;
    }

    public void setPraiseId(int praiseId) {
        this.praiseId = praiseId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getArticleId() {
        return articleId;
    }

    public void setArticleId(String articleId) {
        this.articleId = articleId;
    }

    public String getPraiseStatus() {
        return praiseStatus;
    }

    public void setPraiseStatus(String praiseStatus) {
        this.praiseStatus = praiseStatus;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "Praise{" +
                "praiseId=" + praiseId +
                ", userId='" + userId + '\'' +
                ", articleId='" + articleId + '\'' +
                ", praiseStatus='" + praiseStatus + '\'' +
                ", count='" + count + '\'' +
                '}';
    }
}
